<%@ page import="servlet.Tuxing" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <base href="<%=basePath%>">
    
    <title>My JSP 'tuxingJsp.jsp' starting page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   <% 
     String fileName=Tuxing.getPieChart(session);
     System.out.println(fileName);
    %>
    <img src="DisplayChart?filename=<%=fileName %>" width="700" height="500" border="0" />
  </body>
</html>
